//
//  HHCenterButton.m
//  Flower
//
//  Created by 花花 on 2017/1/17.
//  Copyright © 2017年 花花. All rights reserved.
//

#import "HHPopupButton.h"

@implementation HHPopupButton
+ (instancetype)addButtonTitle:(NSString *)title imageName:(NSString *)imageName{

    
    
        
    HHPopupButton *btn =[HHPopupButton viewFromXib];
    
    btn.titleLabel.text = title;
    btn.imageView.image =[UIImage imageNamed:imageName];
        
    
    return btn;
}


@end
